package com.hhp.cloud.shop.admin.dao;

import com.hhp.cloud.shop.admin.pojo.entity.PermissionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 权限表
 * 
 * @author hhp
 * @email 2437579794@qq.com
 * @date 2021-11-23 10:25:33
 */
@Mapper
public interface PermissionDao extends BaseMapper<PermissionEntity> {

    List<PermissionEntity> listPermRoles();

    List<String> listBtnPermByRoles(List<String> roles);
}
